@layout("/common/_form.html",{js:["/assets/banner/banner_add.js"],css:["/assets/common/module/formSelects/formSelects-v4.css"]}){
<link href="${ctxPath}/assets/common/Layui-KnifeZ/css/layui.css" rel="stylesheet" />
<script src="${ctxPath}/assets/common/Layui-KnifeZ/layui.js"></script>
<script src="${ctxPath}/assets/common/ace/ace.js"></script>>
<style>
.layui-card-header {
    position: relative;
    height: 42px;
    line-height: 42px;
    padding: 0 65px;
    border-bottom: 1px solid #f6f6f6;
    color: #333; 
    border-radius: 2px 2px 0 0;
}

</style>
<form class="layui-form" id="userForm" lay-filter="userForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
           <div class="layui-card-body">
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label"></label>
                        <div class="layui-input-block">
                        </div>
                        <label class="layui-form-label">选择栏目：</label>
                        <div class="layui-input-block">
					      <select name="status" lay-filter="status" id="status" >
                            <option value="1">自制栏目</option>
                            <option value="2">链接栏目</option>
					      </select>
                        </div>
                         <div class="layui-input-block">
                        </div>
                    </div>
                     <div class="layui-inline layui-col-md12">
                       <div class="layui-upload" style="padding-left: 65px;">
						  <button type="button" class="layui-btn" id="test1">选择图片</button>
						  <div class="layui-upload-list">
						    <img style="width: 120px;height: 120px;" class="layui-upload-img" id="demo1">
						  </div>
						</div> 
						  <div class="layui-input-block">
                        </div>
                    </div>
                 <div id="diva">
                <div style="position: relative;height: 42px;line-height: 42px;padding: 0 65px;border-bottom: 1px solid #f6f6f6;color: #333;border-radius: 2px 2px 0 0;">编辑内容：</div>
                <div class="layui-form-item layui-row">
                   <div class="layui-inline layui-col-md12">
                        <div class="layui-input-block" style="margin-left: 165px;min-height: 36px;">
                             <textarea id="layeditDemo"></textarea>
                        </div>
                    </div>
                </div>
                </div>
                 <div id="divb" style="display: none;">
                <div class="layui-form-item layui-row">
                   <div class="layui-inline layui-col-md12">
                       <label class="layui-form-label">链接：</label>
                        <div class="layui-input-block">
					     <input name="bannerLink" id="bannerLink"  lay-verify="bannerLink" type="text" class="layui-input" />
                        </div>
                    </div>
                </div>
                </div>
            </div>
        </div>
    </div>
	<div class="form-group-bottom text-center">
		<button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;保存&emsp;</button>
		<button type="reset" class="layui-btn layui-btn-primary"
			ew-event="closeDialog">&emsp;返回&emsp;</button>
	</div>
</form>

@}
